package com.ye.zcswzlms.service.impl;

import com.ye.zcswzlms.entity.Permission;
import com.ye.zcswzlms.mapper.PermissionMapper;
import com.ye.zcswzlms.service.IPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 叶德辉
 * @since 2020-12-20
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {
    @Autowired
    private PermissionMapper permissionMapper;
    public List<Permission> queryPermission(String stuNO){
        List<Permission> permissions = permissionMapper.queryPermission(stuNO);
        return permissions;
    }
}
